﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body class="easyui-layout">

    <link href="../hcjsui/jquery-easyui-1.3.3/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../hcjsui/jquery-easyui-1.3.3/themes/icon.css" rel="stylesheet" type="text/css" />
    
    <script src="../hcjsui/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="../hcjsui/jquery-easyui-1.3.3/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../hcjsui/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js" charset="utf-8" type="text/javascript"></script>
    <script src="../hcjsui/Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../hcjsui/js/_Define.js" type="text/javascript"></script>
    <script src="../hcjsui/Scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="../hcjsui/js/easyui-extend/form.js" type="text/javascript"></script>

    <script type="text/javascript" src="../js/hc.js"></script>
    <script type="text/javascript" src="../newbasejs/mrdep.js"></script>

    <div id="ui_department_layout" class="easyui-layout" data-options="fit:true,border:false">
        <div region="north" title="部门管理" split="false" border="false" style="height: 60px;">
            <table width="98%">
                <tr>
                    <td class="auto-style1">
                        <form id="searchForm" method="post" runat="server">
                            <div>
                                类型：
                                <select id="nofindtype" name="nofindtype" class="easyui-combobox" style="width: 150px;" disabled="disabled">
                                    <option value="机构">机构</option>
                                    <option value="银行">银行</option>
                                </select>
                                单位名称：<input id="findBranchID" name="findBranchID"  />


                            </div>
                        </form>
                    </td>

                   
                </tr>
            </table>
        </div>

        <div region="center" title="部门列表" style="padding: 0px;" border="false">

            <table id="ui_department_tg"></table>

        </div>
        <div data-options="region:'east',split:true,border:true,collapsed:true" title="部门成员"
            style="width: 480px;">
            <table id="ui_department_user_dg" data-options="fit:true,border:false">
            </table>
        </div>
        <div id="itemEditContainer" class="easyui-window" title="信息管理" data-options="iconCls:'icon-save',closed:'true'" style="width: 550px; height: 400px">
            <div>
                <div class="edititemblock" style="padding: 5px 5px 5px 5px; font-size: 15px;">
                    <form id="itemEdit" name="itemEdit" method="post" action="../ashx/sp.ashx">
                        <input type="hidden" class="actionValue" id="editAction" name="action" value="" />
                        <input type="hidden" id="id" name="id" />
                        <input type="hidden" id="tablename" name="tablename" value="" />
                        <input type="hidden" id="tablemidname" name="tablemidname" value="" />
                        <table cellpadding="5px" class="tableForm" width="100%">
                            <tr>
                                <td>所属机构:</td>
                                <td>
                                    <input class="easyui-combobox" id="fBranchID" name="fBranchID" class='easyui-validatebox' missingmessage='必须填写' required='true'
                                        value=""  /></td>
                            </tr>
                            <tr>
                                <td>上级部门：</td>
                                <td>
                                    <input class="easyui-combotree" id="fParentId" name="fParentId"  value="0"/>
                                    <img style="cursor: pointer; vertical-align: middle;" onclick="$('#fParentId').combotree('clear');"
                                        alt="清空父节点" title="清空父节点" src="../img/edit-clear.png" />



                                </td>
                            </tr>
                            <tr>
                                <td>名称：</td>
                                <td>
                                    <input type='text' id='fDepName' name='fDepName' class='easyui-validatebox' missingmessage='必须填写' required='true' /></td>


                            </tr>
                            <tr>
                                <td>部门代码：</td>
                                <td>
                                    <input type='text' id='fdepcode' name='fdepcode' /></td>


                            </tr>


                            <tr>
                                <td>负责人：</td>
                                <td>
                                    <input type='text' id='fManager' name='fManager' /></td>

                            </tr>
                            <tr>

                                <td>电话：</td>
                                <td>
                                    <input type='text' id='fTel1' name='fTel1' /></td>
                            </tr>

                            <tr>
                                <td colspan="2" align="center"><a class="easyui-linkbutton btn-save" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="javascript:editSubmit();">保存</a>
                                    <a class="easyui-linkbutton btn-cancel" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="javascript:$('#itemEdit')[0].reset();">重置</a></td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
   
</body>
</html>
